<?php $this->beginContent('//layouts/main'); ?>
<div class="span-19">
	<div id="content">
		<?php echo $content; ?>
	</div><!-- content -->
</div>
<div class="span-5 last">
	<div id="sidebar">
	<?php
		$this->beginWidget('zii.widgets.CPortlet', array(
			'title'=>'Operations',
		));
            $this->widget('zii.widgets.CMenu', array(
                'items'=>$this->menu,
                'htmlOptions'=>array('class'=>'operations'),
            ));
		$this->endWidget();
        
        if(!Yii::app()->user->isGuest)
        {
            $this->beginWidget('zii.widgets.CPortlet', array(
                'title'=>'Case',
            ));
                $this->widget('StoreCase');
            $this->endWidget();
        }
            
	?>
	</div><!-- sidebar -->
</div>
<?php $this->endContent(); ?>